package com.cabinet.web.entity;

import java.io.Serializable;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.cabinet.base.entity.IdEntity;



/**
 * 补货员实体
 * @author hqz
 *
 */

@Entity
@Table(name="ict_diauthority")
public class Diauthority extends IdEntity  implements Serializable{

	private static final long serialVersionUID = -6784438547869593455L;

	//补货员账号
	private Long userId;
	
    //补货员所属商家
    private Long sellerId;

	public Long getSellerId() {
		return sellerId;
	}
	public void setSellerId(Long sellerId) {
		this.sellerId = sellerId;
	}
/*    @ManyToOne(fetch=FetchType.LAZY)
    @JoinColumn(name="seller_id",foreignKey=@ForeignKey(value=ConstraintMode.NO_CONSTRAINT))
    private Seller seller;*/
	public Long getUserId() {
		return userId;
	}
	public void setUserId(Long userId) {
		this.userId = userId;
	}
	
}
